﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sundstrom.Validation
{
    public abstract class ValidationAttribute : Attribute
    {
        public virtual string ErrorMessage { get; protected set; }

        public abstract ValidationResult Validate(object value, ValidationContext validationContext);
    }
}
